package cn.oms.dict.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("adverse_reaction")
@ApiModel(value="AdverseReaction对象", description="")
public class AdverseReaction implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID(新增生成)")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "不良反应CODE")
    @TableField("ADVERSE_REACTION_CODE")
    private String adverseReactionCode;

    @ApiModelProperty(value = "不良反应名称（中文）")
    @TableField("ADVERSE_REACTION_NAME_CN")
    private String adverseReactionNameCn;

    @ApiModelProperty(value = "不良反应名称（英文）")
    @TableField("ADVERSE_REACTION_NAME_EN")
    private String adverseReactionNameEn;

    @ApiModelProperty(value = "不良反应名称（拼音）")
    @TableField("ADVERSE_REACTION_NAME_PY")
    private String adverseReactionNamePy;

    @ApiModelProperty(value = "不良反应名称（简称）")
    @TableField("ADVERSE_REACTION_NAME_SN")
    private String adverseReactionNameSn;

    @ApiModelProperty(value = "临床表现（中文）")
    @TableField("PERFORMANCE_CN")
    private String performanceCn;

    @ApiModelProperty(value = "临床表现（英文）")
    @TableField("PERFORMANCE_EN")
    private String performanceEn;

    @ApiModelProperty(value = "不良反应详情原因")
    @TableField("SYNOPSIS_DETAIL")
    private String synopsisDetail;

    @ApiModelProperty(value = "不良反应备注")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDate createTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
